 /**
 * Description: 出入库明细报表
 * @author:Hunter
 * @since:1.0.0
 *
 * Modification History:
 * Date         Author      Version     Description
 * ------------------------------------------------------------------
 * 2018-04-08   Hunter       1.0.0     Initial
 */
package com.metro.paperless.report.beans.vo;

import lombok.Data;
import lombok.EqualsAndHashCode;
import com.metro.paperless.biz.beans.entity.BizMaterialsManageEntity;
import java.util.Date;
import com.metro.paperless.common.utils.DicUtil;
import com.metro.paperless.report.beans.entity.ReportOutAndInEntity;
import com.metro.paperless.common.beans.constant.DicTypeEnum;
 /**
 * 物资管理<br>
 *
 * @author:Hunter
 * @since:1.0.0
 * @version [1.0.0, 2018-04-08]
 */
@Data()
@EqualsAndHashCode(callSuper = false)
public class ReportOutAndIn extends ReportOutAndInEntity{
	
	private String beginAddTime;
	
	private String endAddTime;

	private String statusStr;

     public String getStatusStr() {
         String statusStr = "已完成";
         if("3".equals(this.getStatus())){
             statusStr = "已作废";
         }
         return statusStr;
     }

     public void setStatusStr(String statusStr) {
         this.statusStr = statusStr;
     }

     public String getStorageTypeStr() {
        return DicUtil.getName(DicTypeEnum.STORAGE_TYPE, this.getStorageType());
    }
    
    public String getUnitStr() {
        return DicUtil.getName(DicTypeEnum.MAT_UNIT, this.getUnit());
    }
    
    public String getMaterialsTypeStr() {
        return DicUtil.getName(DicTypeEnum.MAT_TYPE, this.getMaterialsType());
    }
    
    

}
